package com.bdqn.entity;


import java.io.Serializable;
import java.util.List;

public class TSysUser implements Serializable {

  private int id; //id
  private String account; //账号
  private String realName; //用户密码
  private String password; //真实姓名
  private int sex; //性别
  private String birthday; //出生日期
  private String phone; //地址
  private String address; //电话
  private int roleld; //角色ID
  private int createdUserId; //创建人ID
  private String createdTime; //创建时间
  private int updatedUserId; //更新人ID
  private String updateTime; //跟新时间
  private String userRoleName;//角色名称
  private TSysRole tSysRole;//系统角色实体类

  private List<TAddress>addressList;

  public List<TAddress> getAddressList() {
    return addressList;
  }

  public void setAddressList(List<TAddress> addressList) {
    this.addressList = addressList;
  }

  public String getUserRoleName() {
    return userRoleName;
  }

  public void setUserRoleName(String userRoleName) {
    this.userRoleName = userRoleName;
  }

  public TSysRole gettSysRole() {
    return tSysRole;
  }

  public void settSysRole(TSysRole tSysRole) {
    this.tSysRole = tSysRole;
  }

  @Override
  public String toString() {
    return "TSysUser{" +
            "id=" + id +
            ", account='" + account + '\'' +
            ", realName='" + realName + '\'' +
            ", password='" + password + '\'' +
            ", sex=" + sex +
            ", birthday='" + birthday + '\'' +
            ", phone='" + phone + '\'' +
            ", address='" + address + '\'' +
            ", roleld=" + roleld +
            ", createdUserId=" + createdUserId +
            ", createdTime='" + createdTime + '\'' +
            ", updatedUserId=" + updatedUserId +
            ", updateTime='" + updateTime + '\'' +
            '}';
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getRealName() {
    return realName;
  }

  public void setRealName(String realName) {
    this.realName = realName;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public int getSex() {
    return sex;
  }

  public void setSex(int sex) {
    this.sex = sex;
  }

  public String getBirthday() {
    return birthday;
  }

  public void setBirthday(String birthday) {
    this.birthday = birthday;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public int getRoleld() {
    return roleld;
  }

  public void setRoleld(int roleld) {
    this.roleld = roleld;
  }

  public int getCreatedUserId() {
    return createdUserId;
  }

  public void setCreatedUserId(int createdUserId) {
    this.createdUserId = createdUserId;
  }

  public String getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(String createdTime) {
    this.createdTime = createdTime;
  }

  public int getUpdatedUserId() {
    return updatedUserId;
  }

  public void setUpdatedUserId(int updatedUserId) {
    this.updatedUserId = updatedUserId;
  }

  public String getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(String updateTime) {
    this.updateTime = updateTime;
  }
}
